package com.showgood.vo {
import flash.utils.ByteArray;
public class ArmyVO extends BaseVO {
public var captain: int;
public var name: String;
public var staff: int;
public var x: int;
public var y: int;
public var nextx: int;
public var nexty: int;
public var duration: Number;
override public function get vid():int { return 13; }
override public function pack(b:ByteArray):void {
super.pack(b);
b.writeInt(this.captain);
b.writeUTF(this.name);
b.writeInt(this.staff);
b.writeInt(this.x);
b.writeInt(this.y);
b.writeInt(this.nextx);
b.writeInt(this.nexty);
b.writeFloat(this.duration);
}
override public function unpack(b:ByteArray):void {
super.unpack(b);
this.captain = b.readInt();
this.name = b.readUTF();
this.staff = b.readInt();
this.x = b.readInt();
this.y = b.readInt();
this.nextx = b.readInt();
this.nexty = b.readInt();
this.duration = b.readFloat();
}
}
}
